package com.spring.arch.job.service;

import com.spring.arch.job.repository.JobLockRepository;
import com.spring.arch.job.repository.JobLockRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * JobLock实体对应的业务逻辑Service实现类
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class JobLockService {

    private JobLockRepository jobLockRepository;

    @Autowired
    public JobLockService(JobLockRepository jobLockRepository){
        this.jobLockRepository = jobLockRepository;
    }

}
